﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PetaPoco;
using Alos.Entity;
using Alos.Common;
using System.Threading.Tasks;


namespace Alos.IService
{
    public interface IReClassSignService : IBaseService<ReClassSign>
    {
        /// <summary>
        /// 根据备课编号获取当前该课堂上学生标记
        /// </summary>
        /// <param name="id">备课编号</param>
        /// <param name="ReType">类型  上课点评0 ， 结束上课评论1</param>
        /// <returns></returns>
        Task<List<ReClassSign>> GetReClassSign(int id, int ReType);
        /// <summary>
        /// 添加学生课堂标记
        /// </summary>
        /// <param name="reclasssign">学生课堂标记</param>
        /// <returns></returns>
        int CreatReClassSign(ReClassSign reclasssign);
        /// <summary>
        /// 根据备课编号和学生ID删除学生课堂标记
        /// </summary>
        /// <param name="LessionID">备课编号</param>
        /// <param name="stuId">学生ID</param>
        /// <param name="SignContent">类型 点赞0,一般1，差评2</param>
        /// <param name="ReType">类型  课堂点评0，结束上课点评1</param>
        /// <returns></returns>
        int DeleteReClassSign(int LessionID, int stuId, int SignContent, int ReType);
        
    }
}
